.text-ellipsis {
    white-space: nowrap;
    word-break: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
}
.ivu-table .text-ellipsis {
    white-space: pre;
}
.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}
.display-flex{
  display: flex;   
}
.flex {
    display: flex;
    align-items: center;
}
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.mt10 {
    margin-top: 10px;
}
.ml10 {
    margin-left: 10px;
}
.ml15 {
    margin-left: 15px;
}
.mr10 {
    margin-right: 10px;
}
.mr-5 {
    margin-right: 5px;
}
.mb10 {
    margin-bottom: 10px;
}
.m-0 {
    margin: 0;
}
.w150 {
    width: 150px;
}
.w175 {
    width: 175px;
}
.w180 {
    width: 180px;
}
.hp100 {
    height: 100%;
}
.mh10vh{
    min-height: 10vh;
}
.wp100 {
    width: 100%;
}

.not-allowed {
    cursor: not-allowed;
}
.pointer {
    cursor: pointer;
}
.add-btn {
    background: var(--url-color);
    border-radius: 20px 20px 20px 20px;
    color: #fff;
}

.html-ellipsis,
.html-ellipsis * {
    color: var(--url-color) !important;
    font-size: 14px;
}
.html-ellipsis {
    display: inline-block;
}
.html-ellipsis * {
    display: inline !important;
}
.html-ellipsis img {
    max-height: 20px;
    vertical-align: middle;
}
.html-ellipsis sup {
    top: 0;
}
.html-ellipsis sub {
    bottom: 0;
}
.html-ellipsis br {
    display: none !important;
}
.red {
    color: var(--status-deling);
}
.progress {
    color: var(--status-ing);
}
.progress-bg {
    background: var(--status-ing);
    color: #fff;
}
.error,
.delete,
.end {
    color: var(--status-deling);
}

.delete.not-allowed {
    color: var(--operation-unuseable);
}
.not-allowed {
    color: var(--operation-unuseable) !important;
}

.wait {
    color: var(--home-pre-color);
}
.wait-tag {
    background: var(--home-pre-color);
    color: #fff;
}
.html-title {
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
}
.html-title,
.html-title * {
    word-break: break-word;
    white-space: normal !important;
}
.html-title img {
    max-height: 20px;
    vertical-align: top;
}

.status-yes-btn {
    position: relative;
    background: var(--status-yes) !important;
    border: none !important;
    color: #fff !important;
}
.status-no-btn {
    position: relative;
    background: var(--status-no) !important;
    border: none !important;
    color: #fff !important;
}

.status-yes-btn[disabled],
.status-no-btn[disabled] {
    box-shadow: inset 0 0 100px rgb(255, 255, 255, 0.4);
}

.page-content{
   background-color: var(--card-body-bgcolor) !important;
}

.high-level {
    z-index:9999!important;
}

/* 页面 start*/
.dark-bg {
    background-color: var(--card-body-bgcolor) !important;
}
.dark-radius-bg{
    border-radius: 10px;
}
/* 页面  end*/


/* 自定义 Tab --start  竞赛详情，裁判详情tab的样式*/
.demo-tabs-style2 {
    background: var(--card-body-bgcolor);
    border-radius: 5px;
}
.demo-tabs-style2 > .ivu-tabs-bar {
    padding: 20px 20px 4px;
    background: var(--card-body-bgcolor);
    border-bottom: 1px solid var(--divider-color);
    margin-bottom: 0px;
}
.demo-tabs-style2 > .ivu-tabs-bar .ivu-tabs-tab {
    border-radius: 0;
    background: var(--card-body-bgcolor);
    border: none;
    padding: 8px 2px;
    color: var(--default-color-level2);
}
.demo-tabs-style2 > .ivu-tabs-bar .ivu-tabs-tab-active {
    /*border-bottom: 3px solid #333;*/
    padding-bottom: 20px;
}
.demo-tabs-style2 > .ivu-tabs-bar .ivu-tabs-tab-active:before {
    content: '';
    display: none;
    width: 100%;
    height: 1px;
    background: #3399ff;
    position: absolute;
    top: 0;
    left: 0;
}
.demo-tabs-style2 > .ivu-tabs-bar .ivu-tabs-nav .ivu-tabs-tab:hover {
    color:var(--default-color);
}
.demo-tabs-style2 > .ivu-tabs-bar .ivu-tabs-nav .ivu-tabs-tab-active {
    color: var(--default-color);
    font-weight: bold;
    font-size: 16px;
}
.demo-tabs-style2 > .ivu-tabs-bar .ivu-tabs-ink-bar {
    height: 3px;
    background-color: var(--default-color);
}
.demo-tabs-style2 > .ivu-tabs-content .ivu-tabs-tabpane {
    padding: 0px 20px 20px;
}
/*  自定义 Tab --- end*/



/* 自定义 Modal --start*/
.fix-height-modal {
    /* display: flex;
    justify-content: center;
    align-items: center; */
}
.fix-height-modal .ivu-modal {
    /* top: 0; */
}

.fix-height-modal .ivu-modal-body {
    max-height: 70vh;
    overflow: auto;
}

.vertical-center-modal {
    display: flex;
    justify-content: center;
    align-items: center;
}
.vertical-center-modal .ivu-modal {
    top:0;
}
.vertical-center-modal .ivu-modal-body {
    max-height: 70vh;
    overflow: auto;
}
.drawer-low-modal .ivu-modal-wrap,.drawer-low-modal .ivu-modal-mask{
    z-index:999!important;
}
/* 自定义 Modal --start  用于页面tab*/

.high-level-drawer{
    z-index: 3999;
}